ParcelLabel API
Environments and Testing
Overview
As an integrating partner, you are expected to maintain your own development, test, and production environments to interact with the corresponding NZ Post Group environments and follow the software development lifecycle.
Environment Detail
| Name | Use | Addresses |
|---|---|---|
| NZ Post Group User Acceptance Test (UAT) Environment | This environment is available for integration testing to validate customersโ solutions. It ensures that API calls are technically correct and that responses are handled as expected. It supports system, integration, and user acceptance testing. | https://api.uat.nzpost.co.nz/parcellabel/v3/ |
| Production Environment | This environment is for live use and is only available to integrators upon completion of the go-live checklist. | https://api.nzpost.co.nz/parcellabel/v3/ |
Testing Your Application
NZ Post Group is committed to making integration with its products easy and robust and is available to support your development and testing.NZ Post Group is committed to making integration with its products easy and robust and is available to support your development and testing.
NZ Post Group is committed to making integration with its products easy and robust and is available to support your development and testing.
As with any development process, NZ Post Group encourages you to test your application with both positive and negative scenarios. The following list of test cases is provided for your convenience, although it is not intended to be comprehensive. Some test cases may not apply to your use of the API, so please extend the list with cases specific to your business.As with any development process, NZ Post Group encourages you to test your application with both positive and negative scenarios. The following list of test cases is provided for your convenience, although it is not intended to be comprehensive. Some test cases may not apply to your use of the API, so please extend the list with cases specific to your business.As with any development process, NZ Post Group encourages you to test your application with both positive and negative scenarios. The following list of test cases is provided for your convenience, although it is not intended to be comprehensive. Some test cases may not apply to your use of the API, so please extend the list with cases specific to your business.As with any development process, NZ Post Group encourages you to test your application with both positive and negative scenarios. The following list of test cases is provided for your convenience, although it is not intended to be comprehensive. Some test cases may not apply to your use of the API, so please extend the list with cases specific to your business.
As with any development process, NZ Post Group encourages you to test your application with both positive and negative scenarios. The following list of test cases is provided for your convenience, although it is not intended to be comprehensive. Some test cases may not apply to your use of the API, so please extend the list with cases specific to your business.
| Suggested Test Cases | Expected Result |
|---|---|
| Create consignment labels where the carrier is Pace | Labels are created in PDF format |
| Create consignment labels where the carrier is Pace and a notification endpoint is provided in the request | Labels are created in PDF format and notification received |
| Create consignment labels where the carrier is CourierPost | Labels are created in PDF format |
| Create international consignment labels where the carrier is blank | Labels are created in PDF format |
| Create a ParcelPost Domestic Return label | Label is created in PDF format |
| Get status of labels within a consignment | Status of all labels within the consignment are returned |
| Get status of labels within a consignment and related consignments within the same order | Expected result with Status of all labels within the consignment and related consignments are returned. |
| Download labels of a consignment | The images of all labels within the consignment are downloaded in PDF format |
| Download a label of a consignment | The image of the label within the consignment is downloaded in PNG format |